module.exports = {
    publicPath:  './',
    devServer: {
        proxy: {
            '/record': {
                target: 'http://localhost:3000/api/v1',
                changeOrigin: true,
                pathRewrite: {
                    '^/record': '/record',
                },

            },
            '/manual': {
                target: 'http://localhost:3000/api/v1',
                changeOrigin: true,
                pathRewrite: {
                    '^/manual': '/manual',
                },
            },
            '/system': {
                target: 'http://localhost:3000/api/v1',
                changeOrigin: true,
                pathRewrite: {
                    '^/system': '/system',
                },
            }
        }
    }
}